package com.xudayong.Demo;
//未完成
public class Demo5 {
    public static void main(String[] args) {
       Aol   nax  =  new Aol();
        double[] arr ={12.3,423.2,123.4};

    }
 static class Aol{
        public  double max(double arr[]){
            double max =arr[0];

            for (int i = 0; i < arr.length; i++) {
                if (max<arr[i]){

                    max = arr[i];

                }
            }
          return max;
        }




 }
}
